<HTML>
<HEAD>
<meta charset="UTF-8">
<title>NetworkModule.provideHttpClient - core</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">core</a>&nbsp;/&nbsp;<a href="../index.html">com.vmadalin.core.di.modules</a>&nbsp;/&nbsp;<a href="index.html">NetworkModule</a>&nbsp;/&nbsp;<a href="./provide-http-client.html">provideHttpClient</a><br/>
<br/>
<h1>provideHttpClient</h1>
<a name="com.vmadalin.core.di.modules.NetworkModule$provideHttpClient(okhttp3.logging.HttpLoggingInterceptor)"></a>
<code><span class="identifier">@Singleton</span> <span class="identifier">@Provides</span> <span class="keyword">fun </span><span class="identifier">provideHttpClient</span><span class="symbol">(</span><span class="identifier" id="com.vmadalin.core.di.modules.NetworkModule$provideHttpClient(okhttp3.logging.HttpLoggingInterceptor)/interceptor">interceptor</span><span class="symbol">:</span>&nbsp;<span class="identifier">HttpLoggingInterceptor</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">OkHttpClient</span></code>
<p>Create a provider method binding for <a href="#">OkHttpClient</a>.</p>
<p><strong>Return</strong><br/>
Instance of http client.</p>
<p><strong>See Also</strong><br/>
<p><a href="#">Provides</a></p>
</p>
</BODY>
</HTML>
